package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Focus;

public interface FocusApi {

    // 保存关注人id到关注表
    void save(Long userId, Long userFocusId);

    // 根据id删除关注人
    void delete(Focus focus);

    Boolean findRelationship(Long userId, Long userFocusId);

    // 根据用户id 和好友id查询关注信息
    Focus findFocus(Long userId, Long userUnFocusId);

}
